package org.young.admin.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lmhd-emp
 * @date 2021/5/11 16:21
 * @description:
 */
@ApiModel(value = "登录实体", description = "登录对象")
public class LoginModel implements Serializable {

	@ApiModelProperty(value = "用户名", required = true, dataType = "VARCHAR", example = "admin")
	private String username;
	@ApiModelProperty(value = "密码", required = true, dataType = "VARCHAR", example = "123456")
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
